#comments-start - More Info Dialog
[SCRIPT NAME]Display HD Space
Description:
    - Alerts HD space for the specified drive letter

Arguments:
    - Args1: A drive letter with colon (Required) - e.g. C: or D: 
#comments-end - More Info Dialog

#include <Include\WinClickPro.au3>

Func Main()
	;
	; This script has 1 required argument and 1 optional.
	;
	If $CmdLine[0] < 1 Then
		_DisplayErrorAndExit("Invalid argument count detected!" & @LF & "Count: " & $CmdLine[0])
	EndIf

	MsgBox(0, "HD Space", Round(DriveSpaceFree($CmdLine[1])/10, 0) & "Mb (" & Round(DriveSpaceFree ($CmdLine[1])/1000, 0) & "Gb)")
EndFunc

Main()
Exit @error
